package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.pojo.Card;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.BuyCardVo;
import com.woniu.vo.QueryCardVo;
import com.woniu.vo.cardVo;
import org.apache.ibatis.annotations.Param;
import com.woniu.pojo.Card;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.CardSearchVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
<<<<<<< HEAD
 * @author xie
=======
 * @author zbk
>>>>>>> 81444e4a262d317c7f42f747d976efc38ad8d785
 * @since 2022-10-12
 */
public interface CardMapper extends BaseMapper<Card> {

    IPage selectByItemInPage(IPage page, @Param("vo") Card card);

    List<CardSearchVo> selectByLeagueId(String leagueId);

    List<cardVo> byCardType();

    List<Card> selectByMemberId(String memberId);

    List<BuyCardVo> selectAllBuy();

    BuyCardVo selectBuyById(String id);


}
